﻿//Copyright (C) Riwut Libinuko, 2010 - Ideas For Free
//http://blog.libinuko.com

using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using SharePointZip.Base;
using SharePointZip.Controls;
using SharePointZip.Controller;
using System.Web.UI;

namespace SharePointZip.ApplicationPages
{
    public partial class Manager : LayoutsPageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var d = ServiceLocator.Instance.GetService<IUserControl<Downloader>>();
            Control ctrl = LoadControl(d.GetUserControlPath);
            controlPlaceHolder.Controls.Add(ctrl);
        }
    }
}
